import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import { getTopIconDistance } from './utils/methods'
// import uView from 'uview-ui'
import uView from '@/uni_modules/uview-ui'
import * as methods from './utils/methods'

Vue.use(plugins)
Vue.use(uView)
getTopIconDistance()
Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.$methods = methods

App.mpType = 'app'

const app = new Vue({
  ...App
})

app.$mount()
